//
//  AmendUserViewController.h
//  敢唆嘛!
//
//  Created by lanou on 15/11/24.
//  Copyright © 2015年 zms. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

typedef void(^userBlock)(NSString *); //定义一个block 传出用户更改的用户名

typedef void(^userHerderBlock)(UIImageView *);

typedef NS_ENUM(NSInteger,ImageViewState){
    ImageViewStateUserHerder,
    ImageViewStatePlace
};



@interface AmendUserViewController : UIViewController

@property (nonatomic,retain)UIImageView *userHerder; //接收从主界面传来的用户头像

@property (nonatomic,assign)ImageViewState imageState;

@property (nonatomic,copy)userBlock block;//定义属性 传出修改的用户名

@property (nonatomic,copy)userHerderBlock herderBlcok; //定义属性 传出修改的用户头像;
@end
